package com.vhall.component.entity.room.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 房间主播关联表
 * </p>
 *
 * @author wangxing
 * @since 2022-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("anchor_room_lk")
public class AnchorRoomLkEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 主播id
     */
    private Integer anchorId;

    /**
     * 房间id
     */
    private String roomId;

    /**
     * 是否已删除 0 表示未删除 1 表示已删除
     */
    private Boolean deleted;

    /**
     * 更新时间
     */
    private LocalDateTime updatedAt;

    /**
     * 新建时间
     */
    private LocalDateTime createdAt;

    /**
     * 删除时间
     */
    private LocalDateTime deletedAt;


}